<html>
<head>
<script>
    function doneFn ( name , result ){
      if (result) alert("An error occured: " + result);
    }
    function install(){
        var xpi = new Object();
        xpi["WebAMP2 XUL Client"] = "webamp2xul";
        InstallTrigger.install(xpi,doneFn);
    }
</script>
</head>
<body>
    <h1>Welcome to WebAMP2!</h1>
    <br/>
    <a href="javascript:install()">Install WebAMP2 XUL Client...</a><br/>
    After firefox restarts, you will have a WebAMP2 menu after the Help menu.
    You can use this menu to control WebAMP2.  You will most likely want to open
    the Playlist in the sidebar, or use "Launch in New Window" to start the full application.
    <br/><br/>
    You can also run: <b>firefox -chrome "chrome://webamp2/content/webamp2.xul"</b>
    at a terminal prompt to open the client as a standalone app.<br/>
    <br/>
    Remeber to edit <i>install_directory</i>/webamp2/global.conf to change your mpd settings.

</body>
</html>
